package com.xthink.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xthink.common.result.AjaxResult;
import com.xthink.common.vo.user.*;
import com.xthink.common.pojo.user.User;

public interface UserService extends IService<User> {
    AjaxResult register(UserRegisterVo userVo);

    AjaxResult login(UserLoginVo userLoginDto);

    AjaxResult retrieve(UserRetrieveVo userRetrieveVo);

    AjaxResult insert(UserInsertVo userInsertVo);

    AjaxResult likeList(UserListVo userListVo);

    AjaxResult pageInfo(UserPageVo userPageVo);

    AjaxResult deleteById(Integer id);

    AjaxResult updateOne(UserUpdateVo userUpdateVo);

    AjaxResult audi(UserAudiVo userAudiVo);

    AjaxResult logout();

    AjaxResult adminInsert(AdminInsertVo adminInsertVo);

    AjaxResult adminUpdate(AdminUpdateVo adminUpdateVo);

    AjaxResult deleteAdmin(Integer id);

    AjaxResult likeListAdmin(LikeListAdminVo likeListAdminVo);

    AjaxResult selectBusiness();
}
